import { registerPanelItemProvider } from '@ibiz-template/runtime';
import { App } from 'vue';
import { AuthUserinfoProvider } from './i-biz-auth-userinfo.provider';
import AuthUserinfo from './i-biz-auth-userinfo.vue'

export const IBizAuthUserinfo = {
  install(v: App) {
    v.component('IBizAuthUserinfo', AuthUserinfo);
    registerPanelItemProvider(
      'RAWITEM_AUTH_USERINFO',
      () => new AuthUserinfoProvider(),
    );
  }  
};
